package com.hoshiibuy.purchase.feign.hystrix;

import com.hoshiibuy.common.rpc.Response;
import com.hoshiibuy.purchase.feign.OrganizationService;

/**
 * @Author:campchen
 * @Date:Created in 上午 11:19 2019/5/17
 * @PACKAGENAME com.hoshiibuy.purchase.feign.hystrix
 * @Description
 */
public class HystrixOrganizationFeignFallback implements OrganizationService {
    @Override
    public Response getByComId(Long id) {
        return Response.failed("查询租户供应商信息失败");
    }

    @Override
    public Response getByPlatId(Long id) {
        return Response.failed("查询平台供应商信息失败");    }

    @Override
    public Response getByStoreId(Long id) {
        return Response.failed("查询店铺供应商信息失败");    }

}
